package com.cassio.guarapari.dao;

import java.util.List;

import javax.persistence.Query;

import com.cassio.guarapari.entity.Imovel;


public class ImovelDAO extends GenericDAO {
	
	@SuppressWarnings("unchecked")
	public static List<Imovel> findAll(){
		Query q = getEm().createNamedQuery("Imovel.findAll");
		return q.getResultList();
	}
}
